var mySwiper = new Swiper('.swiper', {
    loop: true,
    effect: 'cube',
    cubeEffect: {
        slideShadows: true,
        shadow: true,
        shadowOffset: 50,
        shadowScale: 0.3
    },
    mousewheel: {
        forceToAxis: true, //鼠标上下滚轮
    },
    keyboard: true,
    // autoplay: true, //等同于以下设置
    autoplay: {
        delay: 2000,
        stopOnLastSlide: false,
        disableOnInteraction: false,//是否操作后关闭自动切换
    },
});